/* 
    Document   : pirs
    Created on : Oct 12, 2011, 10:53:49 AM
    Author     : Albadr
    Description:
        Purpose of the stylesheet follows.
*/

/* 
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/

root { 
    display: block;
}
body{
  font-family: "Lucida Grande","Trebuchet MS", Tahoma, Verdana, Arial, sans-serif;
/*  overflow: hidden;*/
}
*{
    padding: 0;
    margin: 0;
}
div{
    display: block;
}

#header{
    background: whitesmoke;
    border-bottom: 1px solid #ccc;
    text-align: center;
    line-height: 80px;
    height: 80px;
}
#footer{
    position: fixed;
    bottom: 0px;
    background: whitesmoke;
    border-top: 1px solid #ccc;
    width: 100%;
    text-align: center;
    line-height: 80px;
    height: 80px;
}

#container-wrapper{
    width: 100%;
}
.container{
    position: relative;
    width: 960px;
    margin: 0px auto;
}
table.opt-table{
    margin: 20px 00px;
}
table.opt-table td{
    vertical-align: baseline;
    width: 225px;
}

button.do{
    width: 150px;
    height: 50px;
}

div.clearer{clear: both}

div.box{
    background-color: #ff9900;
    width: 160px;
    height: 160px;
    max-width: 160px;
    max-height: 160px;
    margin: 5px;
    padding: 10px;
    box-sizing: border-box;
    color: white;
    float: left;
}
div.halv-box{
    display: table-cell;
    background-color: #cc00cc;
    width: 160px;
    height: 80px;
    max-width: 160px;
    max-height: 80px;
    margin: 5px;
    padding: 10px;
    box-sizing: border-box;
    color: white;
    float: left;
}


.button{
    text-decoration: none;
    font-weight: bold;
    border-radius: 2px 2px 2px ;display: inline-block;
    min-width: 54px;
    border: 1px solid gainsboro;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #555;
    font-size: 11px;
    font-weight: bold;
    height: 28px;
    padding: 0 8px;
    line-height: 28px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background-color: whiteSmoke;
    background-image: -webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#f1f1f1));
    background-image: -webkit-linear-gradient(top,#f5f5f5,#f1f1f1);
    background-image: -moz-linear-gradient(top,#f5f5f5,#f1f1f1);
    background-image: -ms-linear-gradient(top,#f5f5f5,#f1f1f1);
    background-image: -o-linear-gradient(top,#f5f5f5,#f1f1f1);
    background-image: linear-gradient(top,#f5f5f5,#f1f1f1);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f5f5f5',EndColorStr='#f1f1f1');
    -webkit-user-select: none;
    -moz-user-select: none;
    cursor: default;
    box-sizing: border-box;
    font-family:  Arial;
    font-family: "Lucida Grande","Trebuchet MS", Tahoma, Verdana, Arial, sans-serif;
}

.button:hover{
    color: white;
    cursor: pointer;
    background-color: maroon;
    background-image: -webkit-gradient(linear,left top,left bottom,from(blue),to(darkblue));
    background-image: -webkit-linear-gradient(top,blue,darkblue);
    background-image: -moz-linear-gradient(top,blue,darkblue);
    background-image: -ms-linear-gradient(top,blue,darkblue);
    background-image: -o-linear-gradient(top,blue,darkblue);
    background-image: linear-gradient(top,blue,darkblue);
} 

/*========================================================================================================
  ========================                  SEARCH AND EXPERIMENT             ============================
/*========================================================================================================*/
#search-box{
	text-align: center; 
	background-color: whitesmoke;
	width: 100%;
	height: 72px;
}
#search-info{
	border-top: 1px solid #ccc ;border-bottom: 1px solid #ccc;
	height: auto;
	padding-left: 100px
}
#search-info div,#search-box div{
	height: inherit;
	display: table-cell;
	vertical-align: middle;
}
#result-preview{
	padding: 20px;
	box-sizing: border-box;
	position: absolute;
	background-color: rgba(245, 245, 245, 0.9);/*whitesmoke;*/
	width: 50%;min-height: 400px;height: 100%;
	margin-left: -1px;border-left: 1px solid #ccc;z-index: 10;	
	bottom: 0px;top: 0px;right:0;left: 50%;
	box-shadow: -1px -1px 3px 3px rgba(118,118,118,0.4);
	overflow-y: scroll;
}

#result-preview p.content{
	font-size: 0.8em;
}

.result-box{
        max-height: 510px;
        overflow: hidden;
	display: inline-block;
        height: auto;
	padding: 0px;
        margin-top: 20px;
        width: 50%;float: left;z-index: 20;
	position: relative;
}
#result-pane{
	width: 100%;
	top: 122px;bottom: 0px;
}
.result-box .result{
	padding: 6px 0px;
}
.result-box .result.active{
	padding: 5px 0px;
	background-color: whitesmoke;
	border-top: 1px solid #ccc ;border-bottom: 1px solid #ccc;
}

.result-box .result a{
	cursor: pointer
}
query-bucket{
    width: 75%;
    margin: 10px auto;
    padding: 0px 3px;
    border: 1px solid #aaa;
}

.query-bucket{
    width: 75%;
    margin: 10px auto;
    padding: 0px 3px;
    border: 1px solid #aaa;
    color: #aaa;
    border-radius: 4px 4px;
    cursor: pointer;
    text-align: center;
    background-color: whitesmoke;
    background-image: -webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#f1f1f1));
    background-image: -webkit-linear-gradient(top,#f5f5f5,#f1f1f1);
    background-image: -moz-linear-gradient(top,#f5f5f5,#f1f1f1);
    background-image: -ms-linear-gradient(top,#f5f5f5,#f1f1f1);
    background-image: -o-linear-gradient(top,#f5f5f5,#f1f1f1);
    background-image: linear-gradient(top,#f5f5f5,#f1f1f1);
}

.query-bucket:hover{
    color: #888;
    background-color: #CCC;
}/**/

#query-box .query-buck{
    border: 1px solid rgba(0, 0, 0, 0.3);
    margin: 6px auto;
    width: 75%;
    display: block;
}

#query-box{
	z-index: 101;
	position: fixed;
	left:0px;top: 122px;bottom:0px;
	width:125px;
	background-color: whiteSmoke;
	border-right: 1px solid #CCC;
}

.query-info{
	width: 50%; padding-left: 150px;
	box-sizing: border-box;
}

.query-info table.query-info-table{
	width: 99%;border-collapse: collapse;
}

.query-info .query-mark{
	width: 33%;border-bottom: 1px solid #ccc;
	padding: 4px 0px;
}

.query-info .query-text{
	border-bottom: 1px solid #ccc;padding: 4px 0px;
	font-style: italic;
	vertical-align: baseline;
}

.uprollerDocument{
    width: 60px;
    height: 32px;
    position: absolute;
    left: 500px;
    cursor: pointer;
    z-index: 25;
}

.uprollerDocument:hover{
    background-image: url(../image/big-arrow.png);
    background-position: -60px 0px;
}
.downrollerDocument{
    width: 60px;
    height: 32px;
    position: absolute;
    left: 500px;
    bottom: 25px;
    cursor: pointer;
    z-index: 25;
}

.downrollerDocument:hover{
    background-image: url(../image/big-arrow.png);
    background-position: -60px -32px;
}